package com.grandtech.insurance.service.app;



import com.grandtech.insurance.common.core.bean.Tile;
import com.grandtech.insurance.common.core.bean.TileSchemeCore;
import com.grandtech.insurance.common.utils.trans.TileBoundReq;
import com.mapbox.geojson.BoundingBox;
import com.mapbox.geojson.Feature;

import java.util.List;
import java.util.Map;

public interface ITileService {

    public void tileByFeature(String tableName, Feature feature, Map cacheRecord);

    public void tileByBound(String tableName, BoundingBox boundingBox, Map cacheRecord) throws Exception;

    public void tileByRegion(String tableName, double west, double south, double east, double north, Map cacheRecord) throws Exception;


    //----------------------------------------------------------------------------------------------------------------


    public void tileByFeature(String tableName, Feature feature);

    public void tileByBound(String tableName, BoundingBox boundingBox) throws Exception;

    public void tileByRegion(String tableName, double west, double south, double east, double north) throws Exception;

    public Tile getBytes(TileSchemeCore tileSchemeCore, long z, long x, long y) throws Exception;

    void tileByBound(TileBoundReq req) throws Exception;

    public void tileByFeature1(String tableName, Feature feature);


}
